package cc.iits.demo.crane.commom;

import org.apache.commons.lang3.StringUtils;

import java.util.UUID;

public class IdCreater {

    public static String uuid(){
        return UUID.randomUUID().toString();
    }

    public static String shortUuid(){
        return uuid().replaceAll("-", StringUtils.EMPTY);
    }
}
